package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.io.Serializable;
import java.util.Date;

/**
 * 菜单表
 */
@Table(name = "sys_menu")
public class SysMenu implements Serializable {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "menu_name", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String menuName;
    @Column(name = "icon_style", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String iconStyle;
    @Column(name = "parent_id", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String parentId;
    @Column(name = "http_url", type = MySqlTypeConstant.VARCHAR)
    private String httpUrl;
    @Column(name = "rows", type = MySqlTypeConstant.INT)
    private Integer rows;
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;


    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIconStyle() {
        return iconStyle;
    }

    public void setIconStyle(String iconStyle) {
        this.iconStyle = iconStyle;
    }


    public String getHttpUrl() {
        return httpUrl;
    }

    public void setHttpUrl(String httpUrl) {
        this.httpUrl = httpUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
